package com.zhangxi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangxi
 * @create 2024-04-21 14:08
 */
@ApiModel(description = "分类分页查询数据接收")
@Data
public class CategoryPageQueryDTO implements Serializable {
    @ApiModelProperty("分类名称")
    private String name;
    @ApiModelProperty("页码")
    private int page;
    @ApiModelProperty("每页记录数")
    private int pageSize;
    @ApiModelProperty("分类类型，1为菜品分类，2为套餐分类")
    private Integer type;
}
